package com.topsoft.email.service.webservice.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.jws.WebService;

import org.springframework.stereotype.Service;

import com.google.common.collect.Lists;
import com.topsoft.email.dao.IEmailLogDao;
import com.topsoft.email.service.webservice.IEmailLogService;


@WebService(endpointInterface = "com.topsoft.email.service.webservice.IEmailLogService")
@Service("emailLogServiceImpl")
public class EmailLogServiceImpl implements IEmailLogService{

	@Resource
	private IEmailLogDao emailLogDao;
	
	

	@Override
	public void saveLog() {
		System.out.println("----------------------------");
		System.out.println("----------------------------save");
	}



	@Override
	public List<String> getLog() {
		List<String> lit=Lists.newArrayList("123","456","789");
		return lit;
	}



	@Override
	public Map<String, String> getMap() {
		Map<String,String>  map=new HashMap<String,String>();
		map.put("1", "guokaige");
		map.put("2", "jingweijuan");
		map.put("3", "liuxing");
		return map;
	}

}
